Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax pragma in SafeMath to match other library files #53

Closed
wants to merge 1 commit into from

Conversation

hoytech
Copy link

@hoytech hoytech commented Sep 10, 2020

- With "=0.6.6" you need to be using this exact solidity compiler version to use UniswapV2Library.sol

- See discussion in the following PRs:
  Uniswap/v2-core#71
  Uniswap#10
@rrecuero
Copy link

rrecuero commented Mar 5, 2021

Can we get this merged please?

@MysticDakra
Copy link

Agreed if we could get this merged that would be great

@borseno
Copy link

borseno commented Mar 28, 2022

Please merge this

@stale
Copy link

stale bot commented Jul 14, 2022

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix This will not be worked on label Jul 14, 2022
@stale stale bot closed this Jul 21, 2022
@didmar
Copy link

didmar commented Sep 4, 2022

This is still relevant as I just encounter the issue.
Could it be merged please?

urugang pushed a commit to Light-Ecosystem/swap-periphery that referenced this pull request Jan 16, 2023
* alternative flash lending (renting) design

* add rent interface

* fix stack too deep error

rearrange order of k condition math

ignore erroneous out of gas errors in tests

* try removing rent in favor of monolithic swap

IUniswapV2Borrower -> IUniswapV2Callee

update tests

* fix implementation

* clean up math a bit

* amount{0,1}In -> amount{0,1}InNet

* charge on all inputs, not just net

* removed unnecessary safemath

* add to != token check

don't indent in scope

rename reserve{0,1}Next -> reserve{0,1}Adjusted

* > instead of >=

simplify algebra

reserve{0,1}Adjusted -> balance{0,1}Adjusted

add comments

* add some optimistic swap test cases
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants